package cn.lx.es.query.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author wcy
 * @version 1.0
 * @description: 动态es查询配置类
 * @date 2025-07-02 下午12:01
 */
@ConfigurationProperties(prefix = "dynamic.es.query.config", ignoreInvalidFields = true)
public class DynamicEsQueryAutoProperties {

    private String esHosts;

    private String esUser;

    private String esPwd;


    private int esReqTimeout;

    private int esConnectTimeout;

    private int esSocketTimeout;


    public String getEsHosts() {
        return esHosts;
    }

    public void setEsHosts(String esHosts) {
        this.esHosts = esHosts;
    }

    public String getEsUser() {
        return esUser;
    }

    public void setEsUser(String esUser) {
        this.esUser = esUser;
    }

    public String getEsPwd() {
        return esPwd;
    }

    public void setEsPwd(String esPwd) {
        this.esPwd = esPwd;
    }


    public int getEsReqTimeout() {
        return esReqTimeout;
    }

    public void setEsReqTimeout(int esReqTimeout) {
        this.esReqTimeout = esReqTimeout;
    }

    public int getEsConnectTimeout() {
        return esConnectTimeout;
    }

    public void setEsConnectTimeout(int esConnectTimeout) {
        this.esConnectTimeout = esConnectTimeout;
    }

    public int getEsSocketTimeout() {
        return esSocketTimeout;
    }

    public void setEsSocketTimeout(int esSocketTimeout) {
        this.esSocketTimeout = esSocketTimeout;
    }
}
